package cn.kgc.springboot.util;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: hengge
 * @version: v1.0
 * @DATE: 2022/11/22
 * 创建的统一格式
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@JsonInclude(JsonInclude.Include.NON_NULL) //排除json中为null的数据
public class ResponseResult {

    private String msg;
    private Integer code;
    private Long count;
    private Object data;
}
